package com.lzy.webapi.response;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * 订单列表返回对象
 * Created by WIN7 on 2017/12/5.
 */
public class OrderProductDetailResponse implements Serializable{
    private static final long serialVersionUID = -9207866441569564502L;
    /**
     * 订单号
     */
    private Long orderId;

    /**
     * 客户id
     */
    private Long memberId;

    /**
     * 客户姓名
     */
    private String name;

    /**
     * 联系电话
     */
    private String phone;

    /**
     * 身份证号
     */
    private String idCard;

    /**
     * 城市编码
     */
    private Integer cityCode;

    /**
     * 所在地区
     */
    private String cityName;

    /**
     * 详细地址
     */
    private String address;

    /**
     * 银行卡号
     */
    private String bankCard;

    /**
     * 状态（1-待支付，2-已完结，3-已关闭）
     */
    private Integer status;

    /**
     * 产品id
     */
    private Long productId;

    /**
     * 产品单选项id
     */
    private Long projectId;

    /**
     * 合同URL
     */
    private String contractUrl;

    /**
     * 线下线上支付（0-线上，1-线下）
     */
    private Integer online;

    /**
     * 付款方式（0-支付宝，1-微信）
     */
    private Integer payWay;

    /**
     * 总价
     */
    private BigDecimal moneyCount;

    /**
     * 支付截止时间
     */
    private String expiredTime;

    /**
     * 备注
     */
    private String remark;

    /**
     * 操作人id
     */
    private Long createUser;

    /**
     * 创建时间
     */
    private String createTime;

    //移动端展示添加字段
    private String orderTime;//下单时间
    private String statusName;//订单状态名称
    private BigDecimal orderAmount;//订单金额
    private String realName;//客户姓名
    private String cardId;//身份证号
    private String bankId;//银行卡号
    private String location;//所在地区（省/市/区）
    private String province;//省份名称
    private String city;//城市名称
    private String district;//区县名称

    //产品信息
    private String productImage;//产品封面
    private String productName;//产品名称
    private List<ProductContentResponse> packages;//产品套餐内容
    private List<ProductPromotionResponse> promotions;//产品促销内容

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public BigDecimal getMoneyCount() {
        return moneyCount;
    }

    public void setMoneyCount(BigDecimal moneyCount) {
        this.moneyCount = moneyCount;
        this.orderAmount = moneyCount;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
        this.orderTime = createTime;
    }

    public String getProductImage() {
        return productImage;
    }

    public void setProductImage(String productImage) {
        this.productImage = productImage;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(String orderTime) {
        this.orderTime = orderTime;
    }

    public String getStatusName() {
        return statusName;
    }

    public void setStatusName(String statusName) {
        this.statusName = statusName;
    }

    public BigDecimal getOrderAmount() {
        return orderAmount;
    }

    public void setOrderAmount(BigDecimal orderAmount) {
        this.orderAmount = orderAmount;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
        this.realName = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
        this.cardId = idCard;
    }

    public Integer getCityCode() {
        return cityCode;
    }

    public void setCityCode(Integer cityCode) {
        this.cityCode = cityCode;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
        this.location = cityName;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getBankCard() {
        return bankCard;
    }

    public void setBankCard(String bankCard) {
        this.bankCard = bankCard;
        this.bankId = bankCard;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public Long getProjectId() {
        return projectId;
    }

    public void setProjectId(Long projectId) {
        this.projectId = projectId;
    }

    public String getContractUrl() {
        return contractUrl;
    }

    public void setContractUrl(String contractUrl) {
        this.contractUrl = contractUrl;
    }

    public Integer getOnline() {
        return online;
    }

    public void setOnline(Integer online) {
        this.online = online;
    }

    public Integer getPayWay() {
        return payWay;
    }

    public void setPayWay(Integer payWay) {
        this.payWay = payWay;
    }

    public String getExpiredTime() {
        return expiredTime;
    }

    public void setExpiredTime(String expiredTime) {
        this.expiredTime = expiredTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Long getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Long createUser) {
        this.createUser = createUser;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getCardId() {
        return cardId;
    }

    public void setCardId(String cardId) {
        this.cardId = cardId;
    }

    public String getBankId() {
        return bankId;
    }

    public void setBankId(String bankId) {
        this.bankId = bankId;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getDistrict() {
        return district;
    }

    public void setDistrict(String district) {
        this.district = district;
    }

    public List<ProductPromotionResponse> getPromotions() {
        return promotions;
    }

    public void setPromotions(List<ProductPromotionResponse> promotions) {
        this.promotions = promotions;
    }

    public List<ProductContentResponse> getPackages() {
        return packages;
    }

    public void setPackages(List<ProductContentResponse> packages) {
        this.packages = packages;
    }
}
